﻿namespace Annotations
{
    /// <summary>
    /// Determines the minimum and maximum value of a property
    /// </summary>
    // Note: Attributes can not be generic, therefore we use objects
    public class RangeAttribute : PropertyAttribute
    {
        public RangeAttribute(object minimumValue, object maximumValue)
        {
            _minimumValue = minimumValue;
            _maximumValue = maximumValue;
        }

        private object _minimumValue;
        private object _maximumValue;
    }
}
